window.onload = function(){
    if(isWeiXin()){
        document.getElementsByClassName("header")[0].style.display='none';

        document.getElementsByClassName("mui-content")[0].style.padding='0';
        document.getElementsByClassName("padding-top")[0].style.padding='0';
        document.getElementsByClassName("mui-content")[0].style.margin='0';
        document.getElementsByClassName("padding-top")[0].style.margin='0';

    }

}
function isWeiXin(){
    var ua = window.navigator.userAgent.toLowerCase();
    if(ua.match(/MicroMessenger/i) == 'micromessenger'){
        return true;
    }else{
        return false;
    }
}